/*可以在这里添加你自己的css */
.table-form{
	table-layout: fixed;
}
/*无边框样式*/
.table-form>caption{
/*  height: 40px;*/
  line-height: 40px;
  font-weight: bold;
  font-size: 20px;
  border: 1px dashed #d9d9d9 !important;
  border-bottom: 0 !important;
  color: #555;
}
/*子表*/

.table-form>tbody>tr>td
{
  min-height: 30px;
  line-height: 30px;
  border: 1px dashed #d9d9d9 !important;
}
.table-form[borders="yesborder"]>tbody>tr>td,
.table-form[borders="yesborder"]>caption{
	border-style: solid !important;
}

.table-form.two-column > tbody > tr > td:nth-child(odd){
	width:20%;
  	text-align: right;
}
.table-form.two-column > tbody> tr > td:nth-child(even) {
	width:80%;
  	text-align: left;
}
.table-form[column='two']>tbody > tr > td:first-child{
	width:20%!important;
}
.table-form[column='two']>tbody > tr > td:last-child{
	width:80%!important;
}
.table-form.four-column > tbody> tr > td:nth-child(odd){
	width:15%;
  text-align: center;
      text-align: right;
}

.table-form.four-column > tbody> tr > td:nth-child(even) {
	width:35%;
  text-align: left;
  padding: 10px;
}

.table-form[column='four'] > tbody> tr > td:nth-child(odd){
	width:15%;
  text-align: center;
      text-align: right;
}

.table-form[column='four'] > tbody> tr > td:nth-child(even) {
	width:35%;
  	text-align: left;
  	padding: 10px;
}
.table-form>tbody>tr>td:last-child:first-child{
	text-align: left;
	width: 100%!important;
}
table.rx-table {
  border: 1px solid #F0F0F0;
  width: 100% !important;
}


.active{
	outline: none;
	border:1px dashed #409EFF!important;
}
.active>caption,
.active > tbody> tr > td{
	border-color: #409EFF!important;
}


/*form颜色-双列*/
/*白色*/
.table-form.white > tbody> tr > td:nth-last-child(2):first-child,
.table-form.white > tbody> tr > td:nth-last-child(4):first-child,
.table-form.white > tbody> tr > td:nth-last-child(2):nth-child(3),
.table-form.white caption{
	background: transparent;
}
/*蓝色*/
.table-form.blue > tbody> tr > td:nth-last-child(2):first-child,
.table-form.blue > tbody> tr > td:nth-last-child(4):first-child,
.table-form.blue > tbody> tr > td:nth-last-child(2):nth-child(3),
.table-form.blue caption{
	background: #e3f1ff;
}
/*绿色*/
.table-form.green > tbody> tr > td:nth-last-child(2):first-child,
.table-form.green > tbody> tr > td:nth-last-child(4):first-child,
.table-form.green > tbody> tr > td:nth-last-child(2):nth-child(3),
.table-form.green caption{
	background: #defaea;
}
/*灰色*/
.table-form.grey > tbody> tr > td:nth-last-child(2):first-child,
.table-form.grey > tbody> tr > td:nth-last-child(4):first-child,
.table-form.grey > tbody> tr > td:nth-last-child(2):nth-child(3),
.table-form.grey caption{
	background: #ebeef5;
}

/*td文字位置*/
/*左*/
.table-form td[align="left"]{
	text-align: left!important;
}
/*中*/
.table-form td[align="center"]{
	text-align: center!important;
}
/*右*/
.table-form td[align="right"]{
	text-align: right!important;
}
/*上*/
.table-form td[valign="top"]{
	vertical-align: top!important;
}
/*中*/
.table-form td[valign="middle"]{
	vertical-align: middle!important;
}
/*下*/
.table-form td[valign="bottom"]{
	vertical-align: bottom!important;
}

.rx-textbox{
  	height: 32px;
    border: 1px solid #d9d9d9;
    cursor: pointer;
    width: 80%;
    border-radius: 4px;
    vertical-align: middle;
    outline: none;
    padding: 0!important;
    display: inline-block;
}

.rx-upload{
   height: 32px;
    width: 80%;
    display: inline-block;
    cursor: pointer;
    border: 1px dashed #d9d9d9;
    border-radius: 4px;
    vertical-align: middle;
    background: url(/form/static/img/controller/fujian.png) #f8f8f8 no-repeat center center;
}

.rx-textarea{
  display: inline-block;
  cursor:pointer;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  height: 60px;
  vertical-align: middle;
  width: 80%;
}

.rx-checkbox{
	cursor: pointer;
	vertical-align: middle;
}

.rx-checkbox:before{
	content: "";
    background: url("/form/static/img/controller/checkbox.png") 0px 0px no-repeat;
    display: inline-block;
    width: 20px;
    height: 25px;
    margin-top: 5px;
    margin-left: 5px;
    vertical-align: middle;
}


.rx-form-select {
    background: url(/form/static/img/controller/select.png) no-repeat 4px center , url(/form/static/img/controller/downArrow.jpg) no-repeat right center;
    height: 32px;
    border: 1px solid #d9d9d9;
    cursor: pointer;
    width: 80%;
    border-radius: 4px;
    vertical-align: middle;
    outline: none;
    padding: 0!important;
    display: inline-block;
}


.rx-checkbox-list {
    width: 222px;
    display: inline-block;
    background: url(/form/static/img/controller/radio-check-pic.png) 1px -18px no-repeat;
    border: none;
    outline: none;
    border: 1px solid transparent;
    padding: 0!important;
    height: 26px;
    vertical-align: middle;/*上下居中*/
}

.rx-switch {
    width: 60px;
    display: inline-block;
    background: url(/form/static/img/controller/switch.png) no-repeat;
    border: none;
    outline: none;
    border: 1px solid transparent;
    padding: 0!important;
    height: 21px;
    border:2px dashed transparent;
    vertical-align: middle;
}

.rx-chinese{
    min-width: 100px;
    display: inline-block;
    border: none;
    outline: none;
    border: 1px solid transparent;
    padding: 0!important;
    height: 32px;
  	vertical-align: middle;
    box-sizing: border-box;
    font-size: 0;
    text-align: left;
    padding-left: 6px;
}

.rx-chinese:before{
    content: "中文大写";
	display: inline-block;
	height: 100%;
	vertical-align: middle;
	font-size: 14px;
}

.rx-number{
  	height: 32px;
    display: inline-block;
    cursor: pointer;
    width: 80%;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    vertical-align: middle;
}

.rx-radio {
    background: url(/form/static/img/controller/radio-check-pic.png) 2px 4px no-repeat;
    display: inline-block;
    outline: none;
    padding: 0!important;
    width: 150px;
    height: 24px;
    margin-left: 4px;
    vertical-align: middle;
    box-sizing: border-box;
}

.rx-date {
    background: url(/form/static/img/controller/date.png) 4px center no-repeat ,url(/form/static/img/controller/icondate.png) no-repeat right center;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    outline: none;
    width: 80%;
    height: 32px;
    display: inline-block;
    vertical-align: middle;
}

.rx-month {
    background: url(/form/static/img/controller/month.png) 4px center no-repeat ,url(/form/static/img/controller/icondate.png) no-repeat right center;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    outline: none;
    width: 80%;
    vertical-align: middle;
    height: 32px;
    display: inline-block;
}

.rx-week {
    background: url(/form/static/img/controller/week.png) 4px center no-repeat ,url(/form/static/img/controller/icondate.png) no-repeat right center;
    outline: none;
    width: 80%;
    height: 32px;
    cursor: pointer;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    display: inline-block;
    vertical-align: middle;
}

.rx-date-range {
    background: url(/form/static/img/controller/datestart.png) 4px center no-repeat ,url(/form/static/img/controller/icondate.png) no-repeat right center;
    outline: none;
    width: 220px;
    height: 32px;
    cursor: pointer;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    display: inline-block;
    vertical-align: middle;
}


/*边框容器*/
.fieldsetContainer{
	border: 1px dashed #d9d9d9;
}
.fieldsetContainer legend{
	color: #555;
	font-weight: bold;
}

/*评分*/
.rx-rate{
	display: inline-block;
    width: 100%;
    max-width: 300px;
    border: 0;
    height: 24px;
    vertical-align: -5px;
    line-height: 24px;
    background: url(/form/static/img/controller/star.png) 4px center no-repeat;

}
/*时间*/
.rx-time{
	display: inline-block;
	outline: none;
    width: 80%;
    height: 32px;
    cursor: pointer;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    display: inline-block;
    vertical-align: middle;
}



.rx-quill-editor{
	position: relative;
	display: inline-block;
    width:100%;
    min-width: 400px;
    border-radius: 4px;
    height: 200px;

}
.rx-quill-editor:after{
	content: "";
	position: absolute;
	display: block;
	width: 100%;
	background: url(/form/static/img/controller/editor-head.png)   no-repeat ,url(/form/static/img/controller/editor-bottom.png)   no-repeat;
    background-size: contain,contain;
    background-position: left top,left bottom;
	top: 0px;
	bottom: 0px;
	z-index: 10;
}
.rx-quill-editor:before{
	content: "";
	position: absolute;
	display: block;
	width: 100%;
	background: url(/form/static/img/controller/editor-middle.png) ;
	background-size: contain;
	top: 0;
	bottom: 0;
	z-index: 9;
}
.rx-button-edit {
    background: url(/form/static/img/controller/editbtn.png) no-repeat 4px center,url(/form/static/img/controller/custombtn.png) no-repeat right center;
    padding: 0!important;
    outline: none;
    width: 80%;
    height: 32px;
    cursor: pointer;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    display: inline-block;
    vertical-align: middle;
}

.rx-form-button{
	display: inline-block;
    min-width: 80px;
    text-align: center;
    border-radius: 4px;
    height: 32px;
    line-height: 32px;
    background-color: #40a9ff;
    color: #fff;
    box-sizing: border-box;
}

.rx-view-word{
  display: inline-block;
  min-width: 80px;
  text-align: center;
  border-radius: 4px;
  height: 32px;
  line-height: 32px;
  background-color: #40a9ff;
  color: #fff;
  box-sizing: border-box;
}

.rx-user{
  outline: none;
    width: 80%;
    height: 32px;
    cursor: pointer;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    display: inline-block;
    vertical-align: middle;
    background: url(/form/static/img/controller/addUser.png) no-repeat 4px center;
}

.rx-group{
  	outline: none;
    width: 80%;
    height: 32px;
    cursor: pointer;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    display: inline-block;
    vertical-align: middle;
    background: url(/form/static/img/controller/addGroup.png) no-repeat 4px center;
}

.rx-tree-select {
    background: url(/form/static/img/controller/xls.png) no-repeat 4px center , url(/form/static/img/controller/downArrow.jpg) no-repeat right center;
    width: 80%;
    cursor: pointer;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    display: inline-block;
    outline: none;
    padding: 0!important;
    height: 32px;
    display: inline-block;
    vertical-align: middle;
}
.rx-barcode{
  outline: none;
    width: 80%;
    height: 32px;
    cursor: pointer;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    display: inline-block;
    vertical-align: middle;
    background: url(/form/static/img/controller/time.png) no-repeat right center;
}
/*子表编辑模式*/

.rx-table-body .table-header-tool{
	padding: 6px 0;
	display: flex;
	line-height: normal;
}
.rx-table-body .table-header-tool .title:before {
content: " ";
width: 3px;
height: 14px;
background-color: #4d9eff;
display: inline-block;
position: absolute;
top: 6px;
left: 0px;
border-radius: 2px 0 0 2px;
}
.rx-table-body .table-header-tool .title{
  position:relative;
}
.rx-table-body .table-header-tool .title >div{
	padding-left: 8px;
	font-size: 14px;
	display: inline-block;
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
	max-width: 300px;
	border-left: 3px solid #4d9eff;
	vertical-align: middle;
}
.rx-table-body .table-header-tool a-button-group{
	flex: 1;
	text-align: right;
	padding-right: 4px;
	font-size: 0;
}
.rx-table-body a-button-group a-button{
	font-size: 14px;
	font-weight: normal;
	border: 1px solid #ddd;
	border-radius: 3px;
	padding: 4px 6px;
	margin-left: 6px;
	display: inline-block;
}

.rx-table tr.firstRow th{
	border-top-width: 1px;
    text-align: left;
    border: 1px solid #f2f2f2;
    background: #f8f8f8;
    font-weight: normal;
    font-size: 14px;
}
.rx-table{
	table-layout: fixed;
}
.rx-table tr td{
	border: 1px solid #f2f2f2;
	font-size: 14px;
	color: #555;
}
.rx-table tr th,
.rx-table tr td{
	height: 30px;
}

.rx-address {
  background: url(/form/static/img/controller/address.png) no-repeat 4px center , url(/form/static/img/controller/downArrow.jpg) no-repeat right center;
  border: 1px solid #d9d9d9;
  outline: none;
  padding: 0!important;
  height: 32px;
  border-radius: 4px;
  display: inline-block;
 width: 80%;
}


/*rxExcelBox*/
.rxExcelBox{
	display: inline-block;
	vertical-align: top;
}

.rx-table-box{
	overflow-x: auto;
	overflow-y: hidden;
}

.rx-form-signbox{
  height: 32px;
  border: 1px solid transparent;
  cursor: pointer;
  width: 80%;
  border-radius: 4px;
  vertical-align: middle;
  outline: none;
  padding: 0!important;
  display: inline-block;
  background: url(/form/static/img/controller/qianming.png) no-repeat left center ;
}

.rx-approval-history{
  height: 32px;
  border: 1px solid #d9d9d9;
  cursor: pointer;
  width: 80%;
  border-radius: 4px;
  vertical-align: middle;
  outline: none;
  padding: 0!important;
  display: inline-block;
}

/*数据列表*/
.rx-data-list{
	width: 100%;
	display: inline-block;
}
.rx-data-list > table{
	margin-bottom: 0;
	table-layout: fixed;
	width: 100%;
}


/*星号*/
.required{
	position: relative;
	
}
.required:before {
    content: "*";
    color: red;
    margin-right: 5px;
    font-size: 16px;
    display: inline-block;
}